package com.syf.rocker;


import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.MessageChannel;

/**
 * 【1】Sink: 绑定Sink队列 接口类【接收信息(读取)】
 */
public interface Sink {

    @Input("mail_in")   //队列名称
    public MessageChannel messageChannel() ;


    @Input("download_in")   //队列名称
    public MessageChannel downloadChannel() ;
}
